package com.ruoyi.wx.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;



@ApiModel("微信登录参数")
@Data
public class WxLoginVo {

    @ApiModelProperty(value = "用户信息或手机号的加密数据", example = "用户信息或手机号的加密数据")
    private String encryptedData;

    @ApiModelProperty(value = "会话密钥session_key，调用jscode2session获取", example = "会话密钥session_key，调用jscode2session获取")
    private String sessionKey;

    @ApiModelProperty(value = "加密算法的偏移量iv，获取用户信息或手机号时返回", example = "加密算法的偏移量iv，获取用户信息或手机号时返回")
    private String iv;

    @ApiModelProperty(value = "wx.login接口返回的临时登录凭证code", example = "wx.login接口返回的临时登录凭证code")
    private String code;

    @ApiModelProperty(value = "获取手机号的临时凭证，调用getPhoneNumber接口返回", example = "获取手机号的临时凭证，调用getPhoneNumber接口返回")
    private String phoneCode;

    // 邀请人id
    private String inviterId;

    private int isExpert;

}
